package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-01-07
*/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="ParametersBean对象", description="系统参数表")
@TableName(value = "center_parameters", resultMap = "BaseResultMap")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParametersBean extends Model<ParametersBean> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "obj_id")
    private String objId;
    
    @ApiModelProperty(value = "参数类型")
    @TableField(value = "para_type")
    private String paraType;

    @ApiModelProperty(value = "参数值")
    private String paraValue;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "参数名称")
    private String paraTypeName;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
    
    @ApiModelProperty(value = "更新人ID")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUserId;
    
    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "数据类型(SysParaDataType)")
    private String dataType;

    @ApiModelProperty(value = "标题")
    private String title;
}
